package com.example.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author yinxin
 * @version 1.0
 * @Description:
 * @date 2022/6/1620:49
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "pay.wechat")
public class WechatPayConfig {
    //商户号
    private String mchId;
    //wx5beac15ca207c40c
    private String wxPayAppid;
    //商户证书序列号
    private String mchSerialNo;
    //API V3密钥
    private String apiV3Key;
    //商户私钥路径
    private String privateKeyPath;
    //支付成功页面跳转
    private String successReturnUrl;
    //支付成功，回调通知
    private String callbackUrl;
}
